<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>微享购</title>

	<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="css/reset.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
    <style>
        .bs-content-main{height: auto;padding: 10px;margin: 0px auto}
        .bs-title{font-size: 16px;font-weight: bold;padding-bottom: 8px;border-bottom: dashed 1px #000000}
        .bs-info{margin-top: 10px;}
    </style>
</head>
<body>
<div class="main" id="main-container">
</div>
<footer id="footer"></footer>
<script type="text/html" id="article">
    <div class="bs-content-main">
        <div class="bs-title"><%= article_title %></div>
        <div class="bs-info">
            <%= article_content %>
        </div>
    </div>
</script>

<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript" src="js/template.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/wx_common.js"></script>
<script type="text/javascript" src="js/swipe.js"></script>
<script type="text/javascript" src="js/article.js"></script>
<script src="js/jweixin-1.0.0.js"></script>
<script type="text/javascript" src="js/tmpl/footer.js"></script>
<script type="text/javascript" src="js/footer_menu.js"></script>
<script>
    $(function(){
        var share_title = '微享购';
        var share_desc = '';
        var share_link = changeURLParam(location.href.split('#')[0],'rec',getcookie('share'));
        var share_imgUrl = '';
        wx.ready(function(){

            wx.onMenuShareTimeline({
                title: share_title, // 分享标题
                link: share_link, // 分享链接
                imgUrl: share_imgUrl, // 分享图标
                success: function () {
                    // 用户确认分享后执行的回调函数
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                }
            });

            wx.onMenuShareAppMessage({
                title: share_title, // 分享标题
                desc: share_desc, // 分享描述
                link: share_link, // 分享链接
                imgUrl: share_imgUrl, // 分享图标
                type: '', // 分享类型,music、video或link，不填默认为link
                dataUrl: '', // 如果type是music或video，则要提供数据链接，默认为空
                success: function () {
                    // 用户确认分享后执行的回调函数
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                }
            });
        });
        dealOptionMenus();
    });
</script>
</body>
</html>
